projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1932a50
)
css: Kerning affects text size
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Apr 2019 18:08:10 +0000
(18:08 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Apr 2019 18:08:10 +0000
(18:08 +0000)
Thats the point. And we were missing the proper
flags to make GTK do the right thing when
changing font-kerning in the inspector.
gtk/gtkcssstylepropertyimpl.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssstylepropertyimpl.c
b/gtk/gtkcssstylepropertyimpl.c
index 251adb4a9a614ab32644f9c294a2d6e1990ae357..a1987b751a4c01d40dea8e0ab9730d51a50d3461 100644
(file)
--- a/
gtk/gtkcssstylepropertyimpl.c
+++ b/
gtk/gtkcssstylepropertyimpl.c
@@
-1063,7
+1063,7
@@
_gtk_css_style_property_init_properties (void)
GTK_CSS_PROPERTY_FONT_KERNING,
G_TYPE_NONE,
0,
- GTK_CSS_AFFECTS_TEXT_ATTRS,
+ GTK_CSS_AFFECTS_TEXT_ATTRS
| GTK_CSS_AFFECTS_TEXT_SIZE
,
parse_font_kerning,
NULL,
_gtk_css_font_kerning_value_new (GTK_CSS_FONT_KERNING_AUTO));